
<template>
<div class='view-container delistview task-my-task-list-view'>
    <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="taskmytasklistview"></app-studioaction>
    <card class='view-card view-no-caption '  :bordered="false" :dis-hover="true" >
    

        <div class='content-container'>
        <div class='view-top-messages'>
        </div>
<view_list 
    :viewState="viewState"  
    :viewparams="viewparams" 
    :context="context" 
    createAction="Create"
    removeAction="Remove"
    updateAction="Update"
    fetchAction="FetchAssignedToMyTask"
    :showBusyIndicator="true"
    :newdata="newdata"
    :opendata="opendata"
    name="list"  
    ref='list' 
    @selectionchange="list_selectionchange($event)"  
    @beforeload="list_beforeload($event)"  
    @rowdblclick="list_rowdblclick($event)"  
    @remove="list_remove($event)"  
    @load="list_load($event)"  
    @closeview="closeView($event)">
</view_list>

        <div class='view-bottom-messages'>
        </div>
        </div>
    </card>
</div>
</template>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TaskMyTaskListViewBase from './task-my-task-list-view-base.vue';

import view_list from '@widgets/task/my-task-list-list/my-task-list-list.vue';
@Component({
    components: {
        view_list, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            if(!Object.is(vm.navModel,"route")){
                vm.initNavDataWithTab(vm.viewCacheData);
            }
            vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
        });
    },
})
export default class TaskMyTaskListView extends TaskMyTaskListViewBase {

}
</script>